﻿using HenuAlbum.Identity;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace HenuAlbum.Models
{
    public class Major
    {
        public int Id { get; set; }

        [MaxLength(32)]
        public string Name { get; set; }


        public int CollegeId { get; set; }


        public College College { get; set; }


        public List<Class> Classes { get; set; } = new List<Class>();


        public List<User> Managers { get; set; } = new List<User>();
    }
}